package chapter05.ac15;

import java.io.IOException;

public class Ac15 {
    public static void main(String[] args) throws Exception {
        Runtime rt = Runtime.getRuntime();
        Process process= rt.exec("notepad.exe");
        Thread.sleep(3000);
        process.destroy();
//        rt.exec("notepad.exe");
    }
}
